# echo 白色太无趣
Write-Host "publish" -ForeGroundColor green
cd libWasm
dotnet publish -c Debug
cd ..

Write-Host "copyfile" -ForeGroundColor green
copy libWasm\bin\Debug\net9.0\browser-wasm\publish\libWasm.wasm .\
copy libWasm\bin\Debug\net9.0\browser-wasm\publish\libWasm.js .\

# powershell 修改js接口文件
./fixlibwasm.ps1